package com.ruyuan.eshop.diplomacy.api;

import com.ruyuan.eshop.common.core.JsonResult;
import com.ruyuan.eshop.diplomacy.domain.dto.FrontCategoryDTO;
import com.ruyuan.eshop.diplomacy.domain.dto.FrontCategorySkuRelationDTO;
import com.ruyuan.eshop.diplomacy.domain.query.FrontCategoryQuery;

import java.util.List;

/**
 * 前台类目接口
 *
 * @author zhonghuashishan
 */
public interface FrontCategoryApi {

    /**
     * 获取前台类目
     *
     * @author zhonghuashishan
     */
    JsonResult<List<FrontCategoryDTO>> getFrontCategory(FrontCategoryQuery frontCategoryQuery);

    /**
     * 获取前台类目下的商品列表
     *
     * @param frontCategoryQuery
     * @return com.ruyuan.eshop.common.core.JsonResult<com.ruyuan.eshop.diplomacy.domain.dto.FrontCategorySkuRelationDTO>
     * @author zhonghuashishan
     */
    JsonResult<FrontCategorySkuRelationDTO> getFrontCategorySkuList(FrontCategoryQuery frontCategoryQuery);

}
